package org.iabako.client.ui.page.business.paymentrequest;

import org.iabako.client.navigation.NavigationController;
import org.iabako.client.ui.form.AbstractForm;
import org.iabako.client.ui.form.business.paymentrequest.PaymentRequestMailForm;

/**
 * Created by jose on 30/01/15.
 */
public class PaymentRequestMailModify extends PaymentRequestMailForm {

    public PaymentRequestMailModify(AbstractForm parent) {
        super();

        parentForm = parent;

        String[] params = NavigationController.getInstance().getParams();

        if ("before".equals(params[0])) {
            setMailBeforeFields();
        } else {
            setMailAfterFields();
        }
    }
}
